import request from '../../util/axios'
import { serialize } from '../../util/util'

// 分页查询元数据项/门类项检测
export const getMetaDataTestItem = (data, query) => request({
  url: '/yuyi-category-boot/api/metadata/check/paging' + serialize(query),
  method: 'post',
  data
})

// 新增元数据项/门类项检测
export const addMetaDataTestItem = (data) => request({
  url: '/yuyi-category-boot/api/metadata/check',
  method: 'post',
  data
})
// 编辑元数据项/门类项检测
export const editMetaDataTestItem = (data) => request({
  url: '/yuyi-category-boot/api/metadata/check',
  method: 'put',
  data
})
// 删除元数据项/门类项检测
export const delMetaDataTestItem = (data) => request({
  url: '/yuyi-category-boot/api/metadata/check',
  method: 'delete',
  data
})
